@echo off

if exist server\server.exe del server\server.exe
if exist server\server del server\server

del /q server\pb\*
xcopy %CD%\..\..\data\golang\* server\pb\ /y

cd server\
go build server

server.exe

pause
